package com.dodo.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.dodo.dao.UserMapper;
import com.dodo.domain.User;
import com.dodo.service.UserService;

@Service("userService")
public class UserServiceImpl implements UserService {

	@Resource
	private UserMapper userMapper;

	public User getUserById(Integer userId) {
		return userMapper.selectByPrimaryKey(userId);
	}

}
